Repository navigation
feat(agent-platform): default agent and skill-manager inputs - #821
Conversation
agentManagerAssistant.enabled (default true, false writes
components.agent-manager-assistant.enabled: false) and
agentManagerAssistant.modelConfig (writes agentManagerAssistant.modelConfig;
4 chart line, where kagent runs). agentManager.skills.repositories accepts
{url, ref, path, readOnly} entries. Defaults render nothing new.
Towards giantswarm/giantswarm#38970
Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
Published Helm chart
|
| Chart | giantswarm-platform-manager |
| Version | 0.86.2-rdeb4a050t20261112122411hbe4da34 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/giantswarm-platform-manager:0.86.2-rdeb4a050t20261112122411hbe4da34 |
| Digest | sha256:e2957c38f37ecabe322792d45712789ffe12f7449def8da0505be6d3fa8811a0 |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/giantswarm-platform-manager --version 0.86.2-rdeb4a050t20261112122411hbe4da34Posted by architect-orb · build 39695 · commit be4da34 · updated in place on every push
…bjects on their releases Refuse agentManagerAssistant.enabled=false and modelConfig on the 3 line, without kagent and with a versions.chart hold below 4.175.0; refuse skill repository objects on the 3 line and with an agent-manager hold below 2.19.0. Write object entries back with the keys they were read with. Towards giantswarm/giantswarm#38970 Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
Towards giantswarm/giantswarm#38970 Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
… repositories stay URLs The skill-manager owns the skill sources (giantswarm/giantswarm#38322): skillManager.sources (URLs or {url, ref, path, readOnly}, written as read) renders the meta chart's skillManager.sources, on the 4 line where the agent-manager runs, with no chart hold below the release with the skill-manager (placeholder floor). The object form leaves agentManager.skills.repositories.
…nt-inputs # Conflicts: # CHANGELOG.md # definitions/agent-platform/README.md # definitions/agent-platform/features.yaml # internal/installations/readback_test.go # internal/verify/verify_test.go # render/agentplatform/input.go # render/agentplatform/render_test.go
…nt.*; skill sources must be http(s) URLs Matches giantswarm/agent-platform#1265: the component is default-agent, the meta value defaultAgent.modelConfig. skillManager.sources takes the meta chart's URL pattern, so the render refuses what the chart's schema would.
The skill-manager reads its sources with the read-only skills GitHub App named by skillManager.appSecretName (the meta chart's skill-manager.github.app.secretName): a private source is listed only to the people who can read it. Empty, anonymous reads of public sources. Refused where skillManager.sources is: off the 4 line, without the agent-manager, with a chart hold below the release with the skill-manager.
|
Taking this over while Dominik is at a conference. Pushed 5be2c59 on top: |
…ne unreleased floor The 4.175.0 floor admitted holds on 4.175.0 to 4.177.x, released without the skill-manager: their values schema refuses skillManager, skill-manager and defaultAgent. One floor, skillManagerChart, for both features of giantswarm/agent-platform#1265. Refuse a skillManager.sources entry naming the platform's own repository and skillManager.sources beside agentManager.skills.repositories, both of which fail the meta chart's render. skillManager.appSecretName must be a Secret name. Signed-off-by: QuentinBisson <quentin@giantswarm.io>
…l-manager replaces From the meta chart with the skill-manager and agent-manager 2.24.0 on, the agent-manager takes its skills from the skill-manager and the chart fails on agent-manager.skills.repositories. Refuse the input there, unless a versions.chart or versions.components.agent-manager hold keeps it below. The default agent renders only where kagent and the agent-manager both run; its inputs are refused elsewhere. Signed-off-by: QuentinBisson <quentin@giantswarm.io>
…nstallation's default model Signed-off-by: Dominik Schmidle <dominik@giantswarm.io>
…nager gates after the chart refuseOffLineFour replaces the copied sentence; checkSkillManagerChart, skillManagerChartChoice and agentManagerViaSkillManager follow the meta chart's skillManagerFloor and viaSkillManager. Signed-off-by: QuentinBisson <quentin@giantswarm.io>
…t refuses; the both-lists refusal names the agent-manager hold Signed-off-by: QuentinBisson <quentin@giantswarm.io>
|
Back to draft: blocked until giantswarm/agent-platform#1265 is merged and released. Before then, an installation with no hold runs a meta chart whose values schema refuses Order: giantswarm/agent#129 → giantswarm/agent#130 (promoted to 2.6.0) and giantswarm/agent-manager#290 (released as 2.24.0) → giantswarm/agent-platform#1265 released → here: set |
…illManager.github.app.secretName
…nt-inputs # Conflicts: # definitions/agent-platform/README.md # internal/verify/verify_test.go
…lt model once; name the chart's agent-skills source agent-manager fills the default agent's model only while it has none and never re-points it (giantswarm/agent-platform#1265). The chart's skillManager.sources lists giantswarm/agent-skills, which a typed list replaces.
|
@QuentinBisson, I merged Conflicts. Both were unions with main's platform-tenant and
Nothing needed regenerating. Changes (7b1baf1), checked against agent-platform#1265 at 1a3d272:
These values already match #1265: Still open, as in your note: |
… refuse agent-manager skill repositories only from a 2.24.0 hold - skillManager.sources, skillManager.github.app.secretName and defaultAgent.modelConfig are refused on an installation that runs stable releases only while 4.179.0 is a release candidate (skillManagerChartReleased, flipped once it is stable). - defaultAgent.enabled: false is accepted on any 4 chart release: components is open in every values schema. - skillManagerChart is 4.179.0-rc.9, the first candidate with the keys. - agentManager.skills.repositories is refused only where a versions.components.agent-manager hold has a floor at 2.24.0 or later (componentFloorAtLeast, as the meta chart reads it); the chart's default range (>=2.22.0) keeps the agent-manager's own list. - an agentManager.skills.repositories entry naming the platform's own repository is refused on a chart that lists it itself, as the meta chart fails on it.
…79.0; the default model from agent-manager 2.24.0 on - the inputs gated on 4.179.0 run only where the installation runs that release or a later one; defaultAgent.enabled: false on any release. - an empty defaultAgent.modelConfig gets the installation's default model from agent-manager 2.24.0 on; below it, set it or the agent has no model. - agentManager.skills.repositories: refused from a 2.24.0 agent-manager hold, and naming the platform's own repository.
|
Review summary
Commits
Please confirm or adjustFindings 1 and 2 are design choices:
Gazelle rollout noteOnce 4.179.0 is stable, gazelle gets the default agent automatically. If gazelle should keep its current setup (the hand-added Gazelle is also the only installation with |
…on stable installations agent-platform 4.179.0 and agent-manager 2.24.0 are stable (2026-11-12). skillManagerChartReleased refused skillManager.sources, skillManager.github.app.secretName and defaultAgent.modelConfig on every installation that runs stable releases only, gazelle among them. It is gone: a versions.chart hold below 4.179.0-rc.9 is the only chart gate left, and holds that admit the stable release or a candidate with the keys take them. The refusal of skillManager.sources beside agentManager.skills.repositories is this definition's choice, not the chart's: the meta chart takes both. Its message and the docs now say so. defaultAgent.modelConfig: the agent gets a model by itself only where the agent-manager's version range starts at 2.24.0; elsewhere it has none and kagent reports it not ready. Signed-off-by: Jose Armesto <github@armesto.net>
Signed-off-by: Jose Armesto <github@armesto.net>
fiunchinho
left a comment
There was a problem hiding this comment.
Thanks for this, the inputs are what gazelle needs. I pushed two commits on top: the release-candidate gate is removed now that agent-platform 4.179.0 and agent-manager 2.24.0 are stable (it refused the new inputs on every stable-only installation), the model text for the default agent matches what the chart does, and main is merged in. Details and the rollout order for gazelle are in the description. Approving.
Towards giantswarm/giantswarm#38970, giantswarm/giantswarm#38322
Rationale
The agent-platform chart (giantswarm/agent-platform#1265, released in v4.179.0) ships the default agent and the skill-manager, which owns the installation's skill sources. The platform manager needs inputs for both.
Changes
defaultAgent.enabled(default true; false writescomponents.default-agent.enabled: false) anddefaultAgent.modelConfig(writesdefaultAgent.modelConfig). 4 chart line only, where kagent and the agent-manager run.enabled: falseworks on any 4 chart release, becausecomponentsis open in every values schema.skillManager.sources: each a URL or{url, ref, path, readOnly}, written to the meta chart'sskillManager.sourcesas read. Refused when an entry names the platform's own repository, because the chart fails on that entry (skills.platformSource).skillManager.github.app.secretName: the Secret of the read-only skills GitHub App, named after the chart path it writes (skill-manager.github.app.secretName). Without it, the skill-manager reads only public sources.defaultAgent.modelConfigneed noversions.charthold, or a hold that admitsskillManagerChart(4.179.0-rc.9, the first candidate with the keys) or later.agentManager.skills.repositoriesstays URLs only.versions.components.agent-managerhold starts atagentManagerViaSkillManager(2.24.0) or later. There the agent-manager takes its skills from the skill-manager, and the chart fails on the list.>=2.22.0 <3.0.0on 4.179.0), the agent-manager keeps its own list, and the chart accepts it.skillManager.sources. This is the definition's choice, not the chart's: the chart takes both lists. With both lists set, an agent-manager below 2.24.0 reads its own list and the skill-manager reads the sources, and the two lists can differ. So one reconcile sets the sources and empties the agent-manager's list.defaultAgent.modelConfigempty: the agent gets a model by itself only where the agent-manager's version range starts at 2.24.0 or later. Only there does the chart have agent-manager set the installation's default model. With the default range on 4.179.0 the agent has no model, and kagent reportsCompatible=False | kagent ModelConfig is required(this is gazelle today). Set the input there.Merge order
agent-platform v4.179.0 (carries #1265) and agent-manager v2.24.0 are released as stable (2026-11-12), so this can merge.
skillManagerChartis4.179.0-rc.9. It is the first tag whose values schema hasskillManageranddefaultAgent, so holds on rc.9 to rc.13 and on the release get the inputs.agentManagerViaSkillManageris2.24.0, the same as the chart'sagentManager.skillManagerFloor.skillManagerChartReleased) is removed. It refused these inputs on every installation that runs stable releases only.Rollout on gazelle (giantswarm/giantswarm#39167)
gazelle already runs 4.179.0. The order:
agent-manager.skills.repositories.The values on record now render on 4.179.0. The new values render on 4.179.0 and after #1371. Before the move, a reconcile is not refused.
Default agent off (while gazelle still runs the hand-added
swarm-operator):Default agent on, with a model:
The agent-manager's
skills.github.app.secretNameandmintGitAuthSecretstay from the record. Below the 2.24.0 floor, the agent-manager still reads its repositories itself (its list is now derived fromskillManager.sources).Review
skillManagerChartReleased = falserefusedskillManager.sources,skillManager.github.app.secretNameanddefaultAgent.modelConfigon every stable-only installation, gazelle among them, after 4.179.0 was stable>=4.100.0 <5.0.0) on a chart that existed only as candidates>=4.100.0 <5.0.0,4.179.0-rc.12and~4.179.0take themdefaultAgent.modelConfigsaid the model comes "from agent-manager 2.24.0 on"; it comes only where the agent-manager's range starts at 2.24.0componentFloorAtLeast,takesSkillsFromSkillManager,namesPlatformSkills); after agent-platform#1371 an agent-manager list the chart refuses passesmusterConsumers)defaultAgent.modelConfigis setdefaultAgentModelat the default floor)Effect on end users
Operators can turn off the platform's default agent, pick its model, list the skill sources the skill-manager offers, and name the GitHub App it uses to read private sources.